package com.java.escape.springproblem.bean_post_processor;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Service;

/**
 * @ClassName WMVDecoder
 * @Description TODO
 * @Author wyp
 * @Date 2023/9/18 10:40
 * @Version 1.0
 */
@Service
@Slf4j
public class WMVDecoder implements IDecoder {
    @Override
    public VideoType type() {
        return VideoType.WMV;
    }

    @Override
    public String decode(String data) {
        return this.type().getDesc() + " :" + data;
    }

//    @Override
//    public void afterPropertiesSet() throws Exception {
//        log.info("我是WMV类型的视频解码器：准备开始");
//    }
}
